package net.mlike.openssp.server.security.shiro.system;

import org.apache.shiro.web.filter.authc.FormAuthenticationFilter;

/**
 * Created by wallellen@hotmail.com on 5/31/18.
 */
public class SystemAuthenticationFilter extends FormAuthenticationFilter {
    @Override
    public void setLoginUrl(String loginUrl) {
        super.setLoginUrl("/admin/login.html");
    }

    @Override
    public void setSuccessUrl(String successUrl) {
        super.setSuccessUrl("/admin/index.html");
    }
}
